package com.example.common.constants;

public class MqConstants {
    // 广播交换机   广播交换机不需要key
    public static final String EXCHANGE_NOTIFICATION = "fanout.notification";
    // 教师通知队列
    public static final String QUEUE_SAVE = "notification.save.queue";
    public static final String QUEUE_BROADCAST = "notification.broadcast.queue";


    // 学生通知队列
    public static final String QUEUE_STUDENT_NOTIFICATION = "student.notification.queue";

    // 文件主题交换机
    public static final String EXCHANGE_FILE = "file.topic";
    // 文件处理队列
    public static final String QUEUE_FILE_SAVE = "file.save.queue";
    public static final String QUEUE_FILE_DELETE = "file.delete.queue";
    public static final String QUEUE_FILE_UPDATE = "file.update.queue";

    // 路由键
    public static final String ROUTING_KEY_FILE_SAVE = "file.save";
    public static final String ROUTING_KEY_FILE_DELETE = "file.delete";
    public static final String ROUTING_KEY_FILE_UPDATE = "file.update";

    //大文件分片
    public static final String QUEUE_FILE_MERGE= "file.merge.queue";
    public static final String ROUTING_KEY_FILE_MERGE = "file.merge";


  //图片  目前没用上
    public static final String QUEUE_FILE_THUMBNAIL = "file.thumbnail.queue";
    public static final String ROUTING_KEY_IMAGE_UPLOAD = "image.upload";


    //延迟消息队列
    String DELAY_EXCHANGE = "trade.delay.topic";
    String DELAY_ORDER_QUEUE = "trade.order.delay.queue";
    String DELAY_ORDER_ROUTING_KEY = "order.query";
}
